package com.systop.service;

import com.systop.pojo.Goods_type;
import com.systop.unti.ResponseResult;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author zhangnan
 * @Data 2020/8/003 下午 4:44
 * @Descriiption
 **/
public interface GoodsTypeService {
    //分页查询

    //查所有商品分类
    ResponseResult selectGoodsTypeAll();
    //添加商品分类
    ResponseResult insertGoodsType(Goods_type goods_type);
    //修改之前查询(根据id查询)
    ResponseResult selectGoodsTypeByid(Integer goods_type_id);
    //修改商品分类
    ResponseResult updateGoodsType(Goods_type goods_type);
    //删除商品分类(根据id删除)
    ResponseResult deleteBannerByid(Integer goods_type_id);

    //批量删除
}
